package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.sql.Date;

/**
 * (InteRule)实体类
 *
 * @author makejava
 * @since 2020-10-27 15:20:09
 */
@ApiModel(value = "积分规则")
public class InteRule implements Serializable {
    private static final long serialVersionUID = -41389771499868744L;
    /**
     * 积分规则编号
     */
    @ApiModelProperty(name = "inteRuleId",notes = "积分规则编号",value = "积分规则编号")
    private Integer inteRuleId;
    /**
     * 积分系数
     */
    @ApiModelProperty(name = "inteCoef",notes = "积分系数",value = "积分系数")
    private String inteCoef;
    /**
     * 类型名称
     */
    @ApiModelProperty(name = "coditTypName",notes = "类型名称",value = "类型名称")
    private String coditTypName;
    /**
     * 商品id（外键）
     */
    @ApiModelProperty(name = "goodsId",notes = "商品id",value = "商品id")
    private Integer goodsId;
    /**
     * 销售计价
     */
    @ApiModelProperty(name = "salePric",notes = "销售计价",value = "销售计价")
    private String salePric;
    /**
     * 价格类型
     */
    @ApiModelProperty(name = "priceType",notes = "价格类型",value = "价格类型")
    private String priceType;
    /**
     * 起始时间
     */
    @ApiModelProperty(name = "timeStar",notes = "起始时间",value = "起始时间")
    private Date timeStar;
    /**
     * 结束时间
     */
    @ApiModelProperty(name = "timeEnd",notes = "结束时间",value = "结束时间")
    private Date timeEnd;
    /**
     * 柜台id(外键)
     */
    @ApiModelProperty(name = "counterId",notes = "柜台id",value = "柜台id")
    private Integer counterId;
    /**
     * 状态
     */
    @ApiModelProperty(name = "statu",notes = "状态",value = "状态")
    private Integer statu;

    public Integer getInteRuleId() {
        return inteRuleId;
    }

    public void setInteRuleId(Integer inteRuleId) {
        this.inteRuleId = inteRuleId;
    }

    public String getInteCoef() {
        return inteCoef;
    }

    public void setInteCoef(String inteCoef) {
        this.inteCoef = inteCoef;
    }

    public String getCoditTypName() {
        return coditTypName;
    }

    public void setCoditTypName(String coditTypName) {
        this.coditTypName = coditTypName;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getSalePric() {
        return salePric;
    }

    public void setSalePric(String salePric) {
        this.salePric = salePric;
    }

    public String getPriceType() {
        return priceType;
    }

    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    public Date getTimeStar() {
        return timeStar;
    }

    public void setTimeStar(Date timeStar) {
        this.timeStar = timeStar;
    }

    public Date getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(Date timeEnd) {
        this.timeEnd = timeEnd;
    }

    public Integer getStatu() {
        return statu;
    }

    public void setStatu(Integer statu) {
        this.statu = statu;
    }

    public Integer getCounterId() {
        return counterId;
    }

    public void setCounterId(Integer counterId) {
        this.counterId = counterId;
    }

    @Override
    public String toString() {
        return "InteRule{" +
                "inteRuleId=" + inteRuleId +
                ", inteCoef='" + inteCoef + '\'' +
                ", coditTypName='" + coditTypName + '\'' +
                ", goodsId=" + goodsId +
                ", salePric='" + salePric + '\'' +
                ", priceType='" + priceType + '\'' +
                ", timeStar=" + timeStar +
                ", timeEnd=" + timeEnd +
                ", counterId=" + counterId +
                ", statu=" + statu +
                '}';
    }
}